package com.third.bank.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户输入信息类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "注册客户表单对象" , description = "注册客户表单对象")
public class UserCommon {

    //用户名
    @ApiModelProperty(value = "用户名" ,required = true ,example = "杨磊")
    private String username;

    //身份证号
    @ApiModelProperty(value = "身份证号" ,required = true ,example = "320165236521452666")
    private String idCard;

    //性别（0：女；1：男）
    @ApiModelProperty(value = "性别" ,required = true ,example = "0")
    private int sex;

    //手机号
    @ApiModelProperty(value = "手机号" ,required = true ,example = "15254896522")
    private String phone;

    //邮箱
    @ApiModelProperty(value = "邮箱" ,required = true,example = "sjfls@qq.com")
    private String mailbox;

    //家庭地址
    @ApiModelProperty(value = "家庭地址" ,required = true )
    private String address;

    //网银密码
    @ApiModelProperty(value = "网银密码" ,required = true ,example = "666323")
    private String wdPassword;
}
